<?php
error_reporting(0);
$isadmin=1; 
include_once '../comm/config.php';
include_once "check.php";
include_once '../comm/checkpostandget.php';
	
$sql = "delete from ".$BIAOTOU."ad where id='".$_GET["id"]."'";
mysql_query($sql);
admin_log('删除广告');
mysql_close();
echo "<script language=javascript>window.location='adlist.php'</script>";
?>